package com.csx.saas.merchant.config.datasource;

import com.csx.basic.database.datasource.BaseMybatisConfiguration;
import com.csx.basic.database.properties.DatabaseProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 配置一些 Mybatis 常用重用拦截器
 * 商户
 *
 * @author ChenSongXin
 * @date 2021-02-06
 */
@Configuration
@Slf4j
@EnableConfigurationProperties({DatabaseProperties.class})
public class MerchantMybatisAutoConfiguration extends BaseMybatisConfiguration {

    public MerchantMybatisAutoConfiguration(DatabaseProperties databaseProperties) {
        super(databaseProperties);
    }
}
